<template>
    <div class="login">
      <p class="login-font">注册账号</p>
      <div class="sole">
        <input type="text" placeholder="请输入手机号">
        <div class="text">
          <input type="text" placeholder="请输入短信验证码">
          <span>发送验证码</span>
        </div>
        <div class="pass">
          <input type="password" placeholder="请输入密码">
          <img src="../../pages/image/icons/yey2.png" alt="">
        </div>
        <p>密码由8-16位数字、字母或符号组成，至少含有2种及以上的字符</p>
        <div class="char">
          <input type="checkbox">
          <span class="char-font">已阅读并同意
            <span>用户协议</span>
          </span>
        </div>
        <!--<router-link to="./person">-->
          <input type="button" @click="button" class="button" value="注册">
        <!--</router-link>-->
      </div>
    </div>
</template>

<script>
export default {
  name: 'login',
  methods: {
    button () {
      this.$router.push({path: '/person'})
    }
  }
}
</script>

<style scoped lang="scss">
.login{
  width: 100vw;
  height: 100vh;
  background: #fff;
  .login-font{
    padding-top: 80px;
    text-align: center;
    font-size: 50px;
  }
  .sole{
    margin: 125px 0 0 100px;
    input{
      border: none;
      display: block;
      background: transparent;
      width: 1058px;
      height: 150px;
      border-bottom: solid 1px #e5e5e5;
    }
    input::placeholder{
      font-size: 50px;
      text-indent: 20px;
      color: #c7c7cc;
    }
    .text{
      position: relative;
      span{
        line-height: 100px;
        position: absolute;
        top: 0;
        right: 110px;
        font-size: 45px;
        border-left: solid 1px #e5e5e5;
        padding-left: 50px;
        margin-top: 25px;
      }
    }
    .pass{
      position: relative;
      img{
        width: 80px;
        height: 80px;
        position: absolute;
        top: 35px;
        right: 100px;
      }
    }
    p{
      margin: 50px 0 0 0;
      color: #bcbcc9;
      font-size: 24px;
    }
    .char{
      width: 560px;
      display: flex;
      margin-top: 100px;
      input{
        width: 60px;
        height: 60px;
        margin-right: 30px;
      }
      .char-font{
        font-size: 42px;
        line-height: 65px;
        color: #aaaaaa;
        span{
          color: #ff6037;
        }
      }
    }
    .button{
      margin-top: 200px;
      background: #ff5e37;
      color: #fff;
    }
  }
}
</style>
